package com.camel.base.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.camel.core.entity.BasePaginationEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * @TableName bp_dept
 */
@TableName(value = "bp_dept")
@Data
public class BpDept extends BasePaginationEntity implements Serializable {

    @TableId(type = IdType.AUTO, value = "id")
    private Integer id;

    /**
     *
     */
    @TableField(value = "dept_no")
    private String deptNo;

    /**
     *
     */
    @TableField(value = "org_no")
    private String orgNo;

    /**
     *
     */
    @TableField(value = "abbr")
    private String abbr;

    /**
     *
     */
    @TableField(value = "name")
    private String name;

    /**
     *
     */
    @TableField(value = "type_code")
    private String typeCode;

    /**
     *
     */
    @TableField(value = "p_dept_no")
    private String pDeptNo;

    /**
     *
     */
    @TableField(value = "dept_path")
    private String deptPath;

    /**
     *
     */
    @TableField(value = "order_no")
    private Integer orderNo;

    /**
     *
     */
    @TableField(value = "manage_level")
    private String manageLevel;

    /**
     *
     */
    @TableField(value = "dept_code")
    private String deptCode;

    /**
     *
     */
    @TableField(value = "attr_name")
    private String attrName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
